Offers utility to work with the associated enumeration. More...
Static Public Member Functions | |
| static nkMemory::StringView | toString (COMPARISON_FUNCTION value) |
| static COMPARISON_FUNCTION | fromString (nkMemory::StringView value) |
| static COMPARISON_FUNCTION | fromIndex (unsigned int value) |
Offers utility to work with the associated enumeration.
|
static |
Converts an enum entry to its string representation.
| value | The enum value to convert. |
|
static |
Converts a string to its equivalent enum value.
| value | The string to convert. |
|
static |
Retrieves an enum value by index. Allows to loop over all values, for instance.
| value | The index of the enum to retrieve. |